package com.interview.ujiuye4;

/**
 * Copyright (C), 2018-2020
 * FileName: Teacher
 * Author:   kongfanyu
 * Date:     2020/10/19 13:32
 */
class Person{
    private int a;
    public int change(int m){
        return m;
    }
}
public class Teacher extends Person{
    public int b;

    public static void main(String[] args) {
        Person p = new Person();
        Teacher t = new Teacher();
        int i = t.b;
        //point x
        i = p.change(30);
    }
}
